/**
 * 
 */
package cn.edu.hstc.ui;

import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import cn.edu.hstc.R;
import cn.edu.hstc.common.L;

/**
 * @Description
 * @author act262
 * @version 1.0
 * @since 2014-4-29 下午1:38:04
 * 
 */
public class Main extends BaseActivity {

	public void onCreate(Bundle bundle) {
		super.onCreate(bundle);
		setContentView(R.layout.main);
		L.d(TAG, "onCreate" + getTaskId());
	}

	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.main, menu);
		return true;
	}

	public void goJwgl(View view) {
		Bundle bundle = new Bundle();
		bundle.putSerializable(LoginJwgl.LOGIN_TYPE_INTENT, LoginJwgl.LoginType.Jwgl);
		startActivity(LoginJwgl.class, bundle);
	}
}
